package com.dg.cuckoo.admin.service;

import com.dg.cuckoo.admin.dto.proCarryOut.ProCarryOutDto;
import com.dg.cuckoo.common.utils.PageModel;
import org.springframework.web.multipart.MultipartFile;

public interface ProphaseService {

    void save(String projectId,ProCarryOutDto dto, MultipartFile[] file) throws Exception;

    void delect(String id);

    String openInfo(String id);

    void update(String id, String projectId, MultipartFile[] files,ProCarryOutDto dto) throws Exception;

    PageModel page(Integer page, Integer pageSize,String projectId);

    void powerfulSave(String id,ProCarryOutDto dto, MultipartFile[] files,Integer type) throws Exception;

    void powerfulUpdate(String id, String projectId, MultipartFile[] files,ProCarryOutDto dto,Integer type) throws Exception;

    PageModel powerfulPage(Integer page, Integer pageSize,String projectId,Integer type);
}
